﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.ViewModel.Localize
{


    public class Langage
    {

        private static ILangage japanise = null;

        internal static ILangage Japanise
        {
            get
            {
                if (japanise == null)
                {
                    japanise = new JapaniseLangage();
                }

                return japanise;
            }

        }

        internal static ILangage Current
        {
            get
            {
                switch (CultureInfo.CurrentUICulture.Name.ToLower())
                {
                    case "ja-jp":
                        return Japanise;

                    default:

                        return Japanise;
                }
            }
        }
    }



}
